public class Cat extends Animal implements IRunning,IJumping,IClimbing{
    public Cat(String name){
        super(name);

    }

    @Override
    public void climb() {
        System.out.println(this.name+"正在爬");
    }

    @Override
    public void jump() {
        System.out.println(this.name+"正在跳");
    }

    @Override
    public void run() {
        System.out.println(this.name+"正在跑");
    }
}
